﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ZkSurvey.Web.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="themes/Default/Login.css" rel="stylesheet" type="text/css" />
    <%--<script type="text/javascript" src="js/Login.js"></script>--%>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 117px; background: url(Themes/Default/images/topbg1.jpg); background-color: #FFFFFF;
        width: 100%; text-align: center">
        <img src="Themes/Default/images/topbg.jpg" alt="" /></div>
    <div style="width: 857px; height: 404px; border: #CCCCCC 0px solid; margin: 0px auto;
        background-image: url(Themes/Default/images/loginindex.gif); clear: both" id="OutWin">
        <div id="SoftName" style="float: left; margin-left: 20px; margin-top: 20px">
            <div style="background: url(Themes/Default/images/softlogo.gif); width: 361px; height: 55px;
                margin-left: 30px">
            </div>
            <%--  <div id="Text" style="text-align: left; margin-left: 30px">
                <ul style="list-style: url(../Survey/images/Item2.gif); line-height: 30px; font-size: 14px">
                    <li>问卷调查系统</li>
                </ul>
            </div>--%>
        </div>
        <div id="LoginBox" style="float: right; margin-right: 20px; margin-top: 20px; z-index: 10">
            <div style="background: url(Themes/Default/images/loginboxborder1.gif); width: 281px;
                height: 28px">
            </div>
            <div style="background: url(Themes/Default/images/loginboxborder2.gif); width: 281px;
                height: 280px">
                <div style="height: 30px; margin-bottom: 5px; padding-left: 30px">
                    <span style="background: url(Themes/Default/images/reg.gif) no-repeat center; width: 30px;
                        height: 30px; float: left"></span><span style="line-height: 30px; float: left; font-size: 14px;
                            font-weight: bold; margin-left: 10px">登录</span>
                </div>
                <div style="margin-bottom: 10px; text-align: right; padding-right: 20px">
                    <span style="margin-right: 5px; font-weight: bold; width: 70px">用户名</span><asp:TextBox
                        ID="UserName" runat="server" CausesValidation="True" CssClass="InputStyle" Width="180px"
                        Style="font-weight: bold"></asp:TextBox>
                </div>
                <div style="margin-bottom: 10px; text-align: right; padding-right: 20px">
                    <span style="margin-right: 5px; font-weight: bold; width: 70px">密&nbsp;&nbsp;码</span><asp:TextBox
                        ID="PassWord" runat="server" TextMode="Password" CssClass="InputStyle" Width="180px">hello</asp:TextBox>
                </div>
                <div style="margin: 10px; height: 30px">
                    <asp:TextBox ID="CheckCode" runat="server" CssClass="LoginCheckCode" Visible="False"></asp:TextBox>
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="checkcode.aspx" Visible="False"
                        Enabled="False" />
                </div>
                <div id="MessageBox" style="margin: 10px; height: 30px">
                    <asp:Label ID="LtrMsg" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                    <asp:Label ID="Label1" runat="server" CssClass="RedFont" Font-Bold="True"></asp:Label>
                    <asp:Label ID="Label2" runat="server" CssClass="RedFont" Font-Bold="True"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName"
                        ErrorMessage="用户名不能为空" ForeColor="OrangeRed" Font-Bold="True" SetFocusOnError="True"
                        Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="PassWord"
                        Display="Dynamic" ErrorMessage="密码不能为空" Font-Bold="True" ForeColor="OrangeRed"
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </div>
                <div style="text-align: center;">
                    <asp:Button ID="BtnLogin" runat="server" Text=" 登 录 " OnClick="BtnLogin_Click" CssClass="LoginBT" /></div>
            </div>
            <div style="background: url(Themes/Default/images/loginboxborder3.gif); width: 281px;
                height: 22px">
            </div>
        </div>
    </div>
    <div id="RegBox" style="position: absolute; left: -1000px; top: 72px; width: 520px;
        height: 330px; background-color: #FFFFFF; border: 1px solid #000000; display: block"
        class="ShadowEffect">
    </div>
    <div style="text-align: center; font-size: 14px;">
        <div>
            CopyRight© 2011</div>
        推荐使用IE8或者更高版本浏览器</div>
    </form>
</body>
</html>
